<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

require_once(APPPATH.'models/model_pesan.php');

class pesan_masuk extends Model_pesan
{
	private $waktu_diterima;

	public function __construct($data)
	{
		parent::__construct($data, false);
		$this->waktu_diterima = $data->ReceivingDateTime;
	}

	public function get_waktu_diterima(){
		return $this->waktu_diterima;
	}
}